package com.library.service.impl;

import com.library.bean.Book;
import com.library.dao.BookDao;
import com.library.dao.impl.BookDaoImpl;
import com.library.service.BookService;

import java.util.List;

/**
 * @auto: hxz
 * Date: 2024/9/14 18:47
 */
public class BookServiceImpl implements BookService {
    private BookDao bookDao = new BookDaoImpl();

    @Override
    public List<Book> SelectBook() {
        List<Book> list=bookDao.SelectBookAll();
        if(list==null){
            return null;
        }
        return list;
    }
}
